package no.sachmuld.methodcombination.examples.annotation.strategy.v2;

import no.sachmuld.methodcombination.api.MethodCombinationSupport;
import no.sachmuld.methodcombination.api.annotation.Default;
import no.sachmuld.methodcombination.api.annotation.MethodCombinationException;
import no.sachmuld.methodcombination.api.annotation.UsesMethodCombination;

/**
 *
 */
@UsesMethodCombination(DuckBehaviour.class)
public abstract class Duck extends MethodCombinationSupport<DuckBehaviour> {

    @Default
    final public void fly() {
        throw new MethodCombinationException();
    }

    @Default
    final public void quack() {
        throw new MethodCombinationException();
    }

}
